Native Methods: An Example |
A UNIX-specific class that supports chmod
|
||
class UNIXCalls {
|
||
e.g., to set the private mail file permission |
||
UNIXCalls.chmod("/home/sl/mbox", 0600);
|